(function(w){
    function Base(){
    }
    Base.prototype = {
        constructor:Base,
        getById: function(id) {
            return document.getElementById(id)
        }
    }

    w.Base = new Base()
})(window)